package net.hualisheng.netty.serialize;

import java.io.Serializable;

public class Request implements Serializable{

	private static final long serialVersionUID = 1L;
	private String id;
	private String msg;
	private String code;
	private String req = "req";

	public Request() {
		super();
	}

	public Request(String id, String msg, String code) {
		super();
		this.id = id;
		this.msg = msg;
		this.code = code;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getReq() {
		return req;
	}

	public void setReq(String req) {
		this.req = req;
	}

	@Override
	public String toString() {
		return "Request [id=" + id + ", msg=" + msg + ", code=" + code + ", req=" + req + "]";
	}

}
